package com.itheima.admin;

import com.itheima.common.config.SwaggerConfiguration;
import com.itheima.common.safe.AliyunSafeTemplate;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Import;

import java.util.Map;

@SpringBootApplication
@MapperScan("com.itheima.admin.mapper")
public class AdminApp {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(AdminApp.class, args);
        Map<String, AliyunSafeTemplate> beansOfType = run.getBeansOfType(AliyunSafeTemplate.class);
        System.out.println("");
    }
}
